{extend name="iframe" /}
{block name="body"}
<div class="layui-card">
    <div class="layui-card-body">
        <form action="{:request()->url()}" class="layui-form" method="post">
            <div class="layui-form-item">
                <label class="layui-form-label">* 项目名称</label>
                <div class="layui-input-block">
                    <input type="text" name="name" value="{$data.name|default=''}" autocomplete="off" placeholder="请输入项目名称" lay-verify="required" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">项目关键词</label>
                <div class="layui-input-block">
                    <input type="text" name="keyword" value="{$data.keyword|default=''}" autocomplete="off" placeholder="请输入项目关键词" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">项目来源</label>
                <div class="layui-input-block">
                    <input type="text" name="source" value="{$data.source|default=''}" autocomplete="off" placeholder="请输入项目来源" lay-verify="required" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">项目类型</label>
                <div class="layui-input-block">
                    <input type="text" name="type" value="{$data.type|default=''}" autocomplete="off" placeholder="请输入项目类型" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">项目金额</label>
                <div class="layui-input-block">
                    <input type="text" name="amount" value="{$data.amount|default=''}" autocomplete="off" placeholder="请输入项目金额" lay-verify="number" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">项目年限</label>
                <div class="layui-input-block">
                    <input type="text" name="year" value="{$data.year|default=''}" autocomplete="off" placeholder="请输入项目年限" lay-verify="number" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">项目需求</label>
                <div class="layui-input-block">
                    <textarea name="demand" autocomplete="off" placeholder="请输入项目需求" class="layui-textarea">{$data.demand|default=''}</textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-filter="i" lay-submit="">保存</button>
                    <button class="layui-btn layui-btn-primary" type="reset">重置</button>
                </div>
            </div>
        </form>
    </div>
</div>
{/block}
